import request from '../utils/request'
 
export const warranty = function(params){
  return request({
    url: '/warranty',
    method: 'post',
    data: params,
  })
}

 
export const login = function(params){
  return request({
    url: '/login',
    method: 'post',
    data: params,
  })
}
 
export const register = function(params){
  return request({
    url: '/register',
    method: 'post',
    data: params,
  })
}

export const betaTester = function(params){
  return request({
    url: '/betaTester',
    method: 'post',
    data: params,
  })
}

export const check_email_exist = function(params){
  return request({
    url: '/after_sale/check_email_exist',
    method: 'get',
    params: params,
  })
}



